package com.oyb.entity;

import lombok.Data;

import java.io.Serializable;
@Data
public class Student implements Serializable {
    private Integer id;
    private String name;
    private Integer sex;
    private Classes classes;
    private Integer cid;

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", classes=" + classes +
                ", cid=" + cid +
                '}';
    }
}
